package com.gjr.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 呙境仁
 * @create 2021-07-19 19:53
 * 启动类
 */
@SpringBootApplication
@EnableDiscoveryClient     // nacos注册
@EnableFeignClients
@ComponentScan(basePackages = {"com.gjr"})
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class,args);
    }
}
